/*
 * 文 件 名:  User.java
 * 版    权:  XXXXX Technologies Co., Ltd. Copyright 2012-2022,  All rights reserved
 * 描    述:  用户的实体类
 * 修 改 人:  Leo
 * 修改时间:  2012-10-31
 * 跟踪单号:  <跟踪单号>
 * 修改单号:  <修改单号>
 * 修改内容:  <修改内容>
 */
package org.uam.modules.user;

import org.uam.common.BaseEntity;

/**
 * User实体类
 * 修改了toString方法
 * 
 * @author  Leo
 * @version  [1.0, 2012-10-31]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
@SuppressWarnings("serial")
public class User extends BaseEntity
{
    
    /**  * 对应user表     */
    public static final String TABLE_AS = "user";
    
    /**  * 用户ID      */
    public static final String AS_USER_ID = "用户ID";
    
    /**  * 用户名称           */
    public static final String AS_USER_NAME = "用户名称";
    
    /**  * 登录名                */
    public static final String AS_USER_LOGINNAME = "登录名";
    
    /**  * 用户名描述      */
    public static final String AS_USER_DESC = "用户描述";
    
    /**  * 密码                    */
    public static final String AS_USER_PWD = "密码";
    
    /**  * 用户手机号      */
    public static final String AS_USER_TEL = "用户手机号";
    
    /**  * 邮件地址           */
    public static final String AS_USER_EMAIL = "邮件地址";
    
    /**  * 用户地址           */
    public static final String AS_USER_ADDR = "用户地址";
    
    /**  * 注册日期           */
    public static final String AS_USER_REGDATE = "注册日期";
    
    /**  * 用户状态           */
    public static final String AS_USER_STATE = "用户状态";
    
    /**  * 用户IP      */
    public static final String AS_USER_IP = "用户IP";
    
    /**  
     * 用户ID db_column: F_USER_ID
     */
    private String userId;
    
    /**
     * 用户名称 db_column: F_USER_NAME
     */
    private String userName;
    
    /**
     * 登录名 db_column: F_USER_LOGINNAME
     */
    private String userLoginName;
    
    /**
     * 用户描述 db_column: F_USER_DESC
     */
    private String userDesc;
    
    /**
     * 密码 db_column: F_USER_PWD
     */
    private String userPwd;
    
    /**
     * 修改时的密码
     */
    private String userNewPwd;
    
    /**
     * 用户固话号码 db_column: F_USER_TEL
     */
    private String userTel;
    
    /**
     * 用户手机号码
     */
    private String userMobile;
    
    /**
     * 邮件地址 db_column: F_USER_EMAIL
     */
    private String userEmail;
    
    /**
     * 用户地址 db_column: F_USER_ADDR
     */
    private String userAddr;
    
    /**
     * 注册日期 db_column: F_REG_DATE
     */
    private String userRegdate;
    
    /**
     * 用户状态 db_column: F_USER_STATE 1：有效；0：无效，不允许登录；-1：已删除
     */
    private String userState;
    
    /**
     * 用户IP db_column: F_USER_IP
     */
    private String userIp;
    
    /**
     * 是否被锁定（0：没有；1：锁定）
     */
    private String userLocked;
    
    /**
     * 最后被锁定时间
     */
    private String userLockTime;
    
    /**
     * 用户角色类型
     */
    private String userRoleType;
    
    public String getUserId()
    {
        return userId;
    }
    
    public void setUserId(String userId)
    {
        this.userId = userId;
    }
    
    public String getUserName()
    {
        return userName;
    }
    
    public void setUserName(String userName)
    {
        this.userName = userName;
    }
    
    public String getUserLoginName()
    {
        return userLoginName;
    }
    
    public void setUserLoginName(String userLoginName)
    {
        this.userLoginName = userLoginName;
    }
    
    public String getUserDesc()
    {
        return userDesc;
    }
    
    public void setUserDesc(String userDesc)
    {
        this.userDesc = userDesc;
    }
    
    public String getUserPwd()
    {
        return userPwd;
    }
    
    public void setUserPwd(String userPwd)
    {
        this.userPwd = userPwd;
    }
    
    public String getUserNewPwd()
    {
        return userNewPwd;
    }
    
    public void setUserNewPwd(String userNewPwd)
    {
        this.userNewPwd = userNewPwd;
    }
    
    public String getUserTel()
    {
        return userTel;
    }
    
    public void setUserTel(String userTel)
    {
        this.userTel = userTel;
    }
    
    public String getUserMobile()
    {
        return userMobile;
    }
    
    public void setUserMobile(String userMobile)
    {
        this.userMobile = userMobile;
    }
    
    public String getUserEmail()
    {
        return userEmail;
    }
    
    public void setUserEmail(String userEmail)
    {
        this.userEmail = userEmail;
    }
    
    public String getUserAddr()
    {
        return userAddr;
    }
    
    public void setUserAddr(String userAddr)
    {
        this.userAddr = userAddr;
    }
    
    public String getUserRegdate()
    {
        return userRegdate;
    }
    
    public void setUserRegdate(String userRegdate)
    {
        this.userRegdate = userRegdate;
    }
    
    public String getUserState()
    {
        return userState;
    }
    
    public void setUserState(String userState)
    {
        this.userState = userState;
    }
    
    public String getUserIp()
    {
        return userIp;
    }
    
    public void setUserIp(String userIp)
    {
        this.userIp = userIp;
    }
    
    public String getUserLocked()
    {
        return userLocked;
    }
    
    public void setUserLocked(String userLocked)
    {
        this.userLocked = userLocked;
    }
    
    public String getUserLockTime()
    {
        return userLockTime;
    }
    
    public void setUserLockTime(String userLockTime)
    {
        this.userLockTime = userLockTime;
    }
    
    public String getUserRoleType()
    {
        return userRoleType;
    }
    
    public void setUserRoleType(String userRoleType)
    {
        this.userRoleType = userRoleType;
    }
    
    /**
     * {@inheritDoc}
     */
    @Override
    public String toString()
    {
        return "[用户ID:" + userId + ", 用户名称:" + userName + ", 登陆名:" + userLoginName + ", 用户状态:"
            + userState + ", 用户IP:" + userIp + ", 用户角色类型:" + userRoleType + "]";
    }
    
}
